projects
/
project
/
firmware-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16a9ec6
)
tools/firmware-utils: allow to create buffalo tags w/o hw version
author
Gabor Juhos
<
[email protected]
>
Wed, 6 Jul 2011 08:04:49 +0000
(08:04 +0000)
committer
Gabor Juhos
<
[email protected]
>
Wed, 6 Jul 2011 08:04:49 +0000
(08:04 +0000)
SVN-Revision: 27472
src/buffalo-tag.c
patch
|
blob
|
history
diff --git
a/src/buffalo-tag.c
b/src/buffalo-tag.c
index e3f762583ecc930d9687648766a5f4586ba08024..bb763420e57fff369ade95b151a2ed23a464093e 100644
(file)
--- a/
src/buffalo-tag.c
+++ b/
src/buffalo-tag.c
@@
-97,7
+97,9
@@
static int check_params(void)
CHECKSTR(major, "major version", TAG_VERSION_LEN);
CHECKSTR(minor, "minor version", TAG_VERSION_LEN);
CHECKSTR(language, "language", TAG_LANGUAGE_LEN);
- CHECKSTR(hwver, "hardware version", 2);
+
+ if (hwver)
+ CHECKSTR(hwver, "hardware version", 2);
if (num_regions == 0) {
ERR("no region code specified");